package com.hmall.api.client;

import com.hmall.api.domain.dto.PayOrderDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "pay-service",path = "/pay-orders")
public interface PayClient {

    @GetMapping("/getByBizNo/{no}")
     PayOrderDTO getByBizNo(@PathVariable("no") String no);
}
